import axios from 'axios'

let instance=axios.create({
  baseURL:'http://api.xiaohigh.com',
  timeout:5000
})


instance.interceptors.request.use((config)=>{
  return config
})


instance.interceptors.response.use((response)=>{
  return response.data
})

export default instance